Войти
  • 7864Просмотров
  • 8 месяцев назадОпубликованоDIY-Sensors

ESP32 and Home Assistant MQTT Setup in 10 Minutes! [Lesson #3]

Want to build a real smart home system using your ESP32? In this tutorial, you’ll learn how to connect your ESP32 to Home Assistant and send real-time sensor data using MQTT. This is an essential step in making your ESP32 interact with your smart home automations! By the end of this video, your ESP32 will be publishing temperature, humidity, or light sensor data wirelessly to Home Assistant, opening up endless automation possibilities! 🌍✨ 📌 What You’ll Learn in This Video: ✅ What is MQTT and how does it work? ✅ How to set up an MQTT broker in Home Assistant ✅ How to send sensor data from ESP32 to MQTT ✅ How to view live sensor updates in Home Assistant ________________________________________ 📌 🔗 Used in this video: 🔗 ESP32 Board =nosim?tag=diysensors-20 🔗 Breadboard starter kit or 🔗 Breadboard =nosim?tag=diysensors-20 and 🔗 Dupont wires =nosim?tag=diysensors-20 🔗 Full Code Used in This Video ✍️Code added to the file: mqtt: !include ✍️Code added to the file: - sensor: - name: MQTT Demo unique_id: "mqtt_demo" state_topic: "Office/Sensor/Demo" 💡 What’s Next? Watch These! ▶️ ESP32 + I2C 🤔→ [Coming soon] ▶️ ESP32 with multiple sensors ▶️ ESP32 Battery Power + Deep Sleep Mode – Long-lasting IoT projects! → [[Coming soon] 🙌 Support the Channel & Stay Updated! 👍 Like this video? Smash the like button & subscribe for more ESP32 tutorials! 🔔 Turn on notifications so you don’t miss future projects! 💬 Leave a comment below: What’s the first project you want to build with your ESP32? 🪙 Support me for more videos 🕘 Chapters: 00:00 - Intro: What You'll Learn in This Video 02:57 – Step by step, How to install MQTT to Home Assistant 04:57 – Starting MQTT in Home Assistant 05:39 – Adding WiFi to the ESP32 07:47 – Adding WiFi and MQTT to the ESP32 10:13 – Demonstration of MQTT, ESP32 sending MQTT and Home Assistant receiving MQTT 12:10 – Improve your Arduino dode for WiFi and MQTT 16:27 – Remove you credentials from your Arduino code 18:40 - End 🎵 Music used: Music track: Rainy Day by Avanti Music track: Once Again by Moavii Music track: Summer Bliss by Ocean Bloom Music track: Atmospheric Guitar by Pufino Music track: Zero by Sunova Music track: Dream Potion by tubebackr Music track: Start by Damtaro All tracks are from: Source: Royalty Free Music for Video (Safe) #ESP32 #MQTT #Arduino #Microcontrollers #ESP32Projects #IoT #SmartHome #DIYElectronics